package com.ggbz.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 辅导员负责班级表，存储辅导员与班级的关联关系
 * </p>
 *
 * @author ggbz
 * @since 2025-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("counselor_classes")
@ApiModel(value="CounselorClasses对象", description="辅导员负责班级表，存储辅导员与班级的关联关系")
public class CounselorClasses implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "辅导员ID，关联用户表")
    @TableId(value = "counselor_id", type = IdType.ASSIGN_ID)
    private Integer counselorId;

    @ApiModelProperty(value = "班级名称")
    private String className;


}
